<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  <script type="text/javascript">
  //编写自定义JS代码
  </script>
 </head>
 <body>
  <t:formvalid formid="formobj" dialog="true"   layout="table" action="userScoreController.do?doSet" tiptype="3" >
  		<input type="hidden" name="id" value="${user.id}" />
		<table style="" cellpadding="0" cellspacing="1" class="formtable">
				<tr>
					<td align="right">
						<label class="Validform_label">
							姓名:
						</label>
					</td>
					<td class="value">
					   ${user.realName }(${user.staffNo})
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							设置分数:
						</label>
					</td>
					<td class="value">
						<input id="score" name="newScore" type="text" datatype="*"  value="${user.score}" style="width: 150px" class="inputxt" maxlength="80" >
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">分数</label>	
					</td>
				</tr> 
			</table>
		</t:formvalid>
		
		<script>
			$('#ruleId').change(function(){
				ruleLoaded();
			});
		
			function ruleLoaded(){
 				var score = $('#ruleId').find("option:selected").attr("data-score");
				$('#scoreTD').html(score);
			}
			
			$(document).ready(function(){
				moneyValidate('score');
			});
			
		</script>
		
 </body>
